package com.gimi.cloud.bbp.entity.page;

import java.math.BigDecimal;
import java.util.List;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.gimi.cloud.bbp.entity.base.BaseTable;

@Table(name = "pc_page_model")
public class PageModel extends BaseTable{

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@Id
	private Integer id;
	
	/**
	 * 栏目表Id
	 */
	private Integer columnId;
	
	/**
	 * 子模块图片表ID
	 */
	private Integer photoId;
	
	/**
	 * 页面ID
	 */
	private Integer pageId;
	
	/**
	 * 商品ID
	 */
	private String prodId;
	
	/**
	 * 标题
	 */
	private String title;
	
	/**
	 * 附标题
	 */
	private String caption;
	
	/**
	 * 描述
	 */
	private String describes;
	
	/**
	 * 价格
	 */
	private BigDecimal price;
	
	/**
	 * 最高价格
	 */
	private BigDecimal priceMax;
	
	/**
	 * 最低价格
	 */
	private BigDecimal priceMin;
	
	/**
	 * url
	 */
	private String url;
	/**
	 * 类型：1商品、2专场、3H5
	 */
	private Integer type;
	
	
	@Transient
	private PageModelPhoto pageModelPhoto;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getColumnId() {
		return columnId;
	}

	public void setColumnId(Integer columnId) {
		this.columnId = columnId;
	}

	public Integer getPhotoId() {
		return photoId;
	}

	public void setPhotoId(Integer photoId) {
		this.photoId = photoId;
	}

	public Integer getPageId() {
		return pageId;
	}

	public void setPageId(Integer pageId) {
		this.pageId = pageId;
	}

	public String getProdId() {
		return prodId;
	}

	public void setProdId(String prodId) {
		this.prodId = prodId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getCaption() {
		return caption;
	}

	public void setCaption(String caption) {
		this.caption = caption;
	}

	public String getDescribes() {
		return describes;
	}

	public void setDescribes(String describes) {
		this.describes = describes;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getPriceMax() {
		return priceMax;
	}

	public void setPriceMax(BigDecimal priceMax) {
		this.priceMax = priceMax;
	}

	public BigDecimal getPriceMin() {
		return priceMin;
	}

	public void setPriceMin(BigDecimal priceMin) {
		this.priceMin = priceMin;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public PageModelPhoto getPageModelPhoto() {
		return pageModelPhoto;
	}

	public void setPageModelPhoto(PageModelPhoto pageModelPhoto) {
		this.pageModelPhoto = pageModelPhoto;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
	

}
